package process;

public class Job {
	
	private int jobNumber;        // the number of Job
	private float processingTime; // Job's processing time
	private float readyTime;   //Job's expecting end time
	private int stageFinished; //Job's finish status
		
	public Job(int jobNumber, float processingTime, float readyTime, int stageFinished) {
		setJobNumber(jobNumber);
		setProcessingTime(processingTime);
		setReadyTime(readyTime);
		setStageFinished(stageFinished);
	}
	
	public void setJobNumber(final int jobNumber){
		this.jobNumber=jobNumber;
	}
	
	public void setProcessingTime(float processingTime){
		this.processingTime=processingTime;
	}
	
	public void setReadyTime(float readyTime){
		this.readyTime=readyTime;
	}
	
	public void setStageFinished(final int stageFinished){
		this.stageFinished=stageFinished;
	}
	
	public int getJobNumber(){
		return this.jobNumber;
	}
	
	public float getProcessingTime(){
		return this.processingTime;
	}
	
	public float getReadyTime(){
		return this.readyTime;
	}
	
	public int getStageFinished(){
		return this.stageFinished;
	}
}


